package com.example.ruoyiakp.agricul.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 农资类型 对象 agr_agricultural_type
 *
 * @author ruoyi
 * @date 2025-03-05
 */
public class AgrAgriculturalType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long agriId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String agriName;

    public void setAgriId(Long agriId)
    {
        this.agriId = agriId;
    }

    public Long getAgriId()
    {
        return agriId;
    }
    public void setAgriName(String agriName)
    {
        this.agriName = agriName;
    }

    public String getAgriName()
    {
        return agriName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("agriId", getAgriId())
                .append("agriName", getAgriName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
